# 打印圣诞树
height = 10
for i in range(height):
    print(' ' * (height - i) + '*' * (2 * i + 1))
# 打印树干
for j in range(3):
    print(' ' * (height - 1) + '|')